Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: Need to get the Attachment Icon using Notes C++ 2.4
~Kim Renuverakoi 22.Jan.04 05:52 AM a Web browser
Toolkits All Releases Windows XP


I have tried several approaches but still can not get it to work. I created the code like below to export the graphic from a LNGraphic object but this causes an address exception.

// This is part of the code that searches through the Rich Text Item and identifies

else if (Obj.IsType(LNRTTYPE_ATTACHMENT))
{
c2 = Cursor;
Cursor++;
ProcessAttachment(rt, Obj, c2, HtmlString);
}
// This is the code in the ProcessAttachment routine to export the Graphic

LNGraphic AttachIcon;
// RTAtt is the Attachment Rich text object
RTAtt.GetGraphic(&AttachIcon);

LNRTCursor graphicStart;
AttachIcon.GetCursor(&graphicStart);

LNRTCursor graphicEnd = graphicStart;
graphicEnd++;

string tif = "image.tif";
// Address exception on this export
rt.Export(tif.c_str(),graphicStart, graphicEnd);




Need to get the Attachment Icon usi... (~Kim Renuverako... 7.Jan.04)
. . RE: Need to get the Attachment Icon... (~Kim Renuverako... 22.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS